package com.zlm.website.service.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zlm.common.base.BaseEntity;

import java.util.Date;

/**
 * 官网新闻类实体-website_news表
 *
 * @Author: duyufu
 * @Date: 2019/3/14 11:44
 */
public class WebsiteNewsDO extends BaseEntity {


    private static final long serialVersionUID = 1086704715498562145L;

    /**
     * 主键id
     */
    private Integer id;
    /**
     * 新闻标题
     */
    private String newsTitle;
    /**
     * 新闻内容
     */
    private String newsContent;
    /**
     * 新闻摘要
     */
    private String newsAbstract;
    /**
     * 新闻图片
     */
    private String newsSrc;
    /**
     * 新闻类型（1-公司动态，2-行业资讯，3-播报新闻）
     */
    private Integer newsType;
    /**
     * 新闻类型名
     */
    private String newsTypeName;
    /** 逻辑删除 */
    private Integer isAlive;
    /** 新闻来源 */
    private String source;
    /** 新闻作者 */
    private String author;
    /** 链接 */
    private String linkUrl;
    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;
    /**
     * 创建用户
     */
    private String createUser;
    /**
     * 最后一次更新时间
     */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date lstUpdTime;
    /**
     * 最后一次更新用户
     */
    private String lstUpdUser;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public String getNewsAbstract() {
        return newsAbstract;
    }

    public void setNewsAbstract(String newsAbstract) {
        this.newsAbstract = newsAbstract;
    }

    public String getNewsSrc() {
        return newsSrc;
    }

    public void setNewsSrc(String newsSrc) {
        this.newsSrc = newsSrc;
    }

    public Integer getNewsType() {
        return newsType;
    }

    public void setNewsType(Integer newsType) {
        this.newsType = newsType;
    }

    public String getNewsTypeName() {
        return newsTypeName;
    }

    public void setNewsTypeName(String newsTypeName) {
        this.newsTypeName = newsTypeName;
    }

    public Integer getIsAlive() {
        return isAlive;
    }

    public void setIsAlive(Integer isAlive) {
        this.isAlive = isAlive;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getLstUpdTime() {
        return lstUpdTime;
    }

    public void setLstUpdTime(Date lstUpdTime) {
        this.lstUpdTime = lstUpdTime;
    }

    public String getLstUpdUser() {
        return lstUpdUser;
    }

    public void setLstUpdUser(String lstUpdUser) {
        this.lstUpdUser = lstUpdUser;
    }
}
